dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
074cab0
)
(bug 25182) ResourceLoader breaks because of warnings thrown when an open_basedir...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 16 Sep 2010 13:45:01 +0000
(13:45 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 16 Sep 2010 13:45:01 +0000
(13:45 +0000)
includes/libs/CSSMin.php
patch
|
blob
|
history
diff --git
a/includes/libs/CSSMin.php
b/includes/libs/CSSMin.php
index
bc36115
..
93b75ac
100644
(file)
--- a/
includes/libs/CSSMin.php
+++ b/
includes/libs/CSSMin.php
@@
-66,7
+66,7
@@
class CSSMin {
$file = ( isset( $path ) ? rtrim( $path, '/' ) . '/' : '' ) . "{$match['file'][0]}";
// Only proceed if we can access the file
- if ( file_exists( $file ) ) {
+ if (
!is_null( $path ) &&
file_exists( $file ) ) {
$files[] = $file;
}
}